<?php
namespace tech\esign_constant;

class Config{

//测试环境配置
public static $config_test = array(
    'openAPIUrl'=> 'http://smlitsm.tsign.cn:8080/tgmonitor/rest/app!getAPIInfo2', // 模拟环境
    'projectId'=> "4438799884",
    'projectSecret'=> "9fb68e839208b9727d9023891295f2af",
    'warUrl'=>'http://127.0.0.1:8082/tech-sdkwrapper/timevale' //java 服务配置
);

//正式环境配置
public static $config = array(
    'openAPIUrl'=> 'http://openapi.tsign.cn:8080/tgmonitor/rest/app!getAPIInfo2', // 正式环境
    'projectId'=> "5111595521",
    'projectSecret'=> "4928009d080fbebb688d31c352a2db87",
    'warUrl'=>'http://127.0.0.1:8082/tech-sdkwrapper/timevale' //java  服务配置
);


public static $proxyConf = array(
    'ENABLE_HTTP_PROXY'=>false,
    'HTTP_PROXY_IP'=>'',
    'HTTP_PROXY_PORT'=>'',
);


public static $urlMap = array(
    'INIT_URL'=>'/init',//项目初始化
    'ADD_PERSON_ACCOUNT'=>'/account/addPerson', //创建个人账户
    'ADD_ORG_ACCOUNT'=>'/account/addOrganize', //创建企业账户
    'ADD_PERSON_SEAL'=>'/seal/addPersonSeal', //创建个人模板印章
    'ADD_ORG_SEAL'=>'/seal/addOrganizeSeal', //创建企业模板印章
    'SELF_FILE_SIGN'=>'/sign/selfFileSign', //平台自身摘要签署
    'SELF_STREAM_SIGN'=>'/sign/selfStreamSign', //平台自身摘要签署（文件流）
    'USER_FILE_SIGN'=>'/sign/userFileSign', //平台用户PDF摘要签署
    'GET_ACCOUNTINFOBYIDNO_ACCOUNT'=>'/account/getAccountInfoByIdNo', //根据证件号查询账户id
    'DELETE_ACCOUNT'=>'/account/delete', //注销账户，注销后账户将不可再使用，请谨慎调用
);

}

